home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / IDLIncludes / NVRAMPlugin.idl < prev    next >
Text File  |  1996-05-01  |  2KB  |  60 lines

  1. /*
  2.      File:        NVRAMPlugin.idl
  3.  
  4.      Version:    Technology:    
  5.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  6.  
  7.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  8.  
  9.      Bugs?:        If you find a problem with this file, send the file and version
  10.                  information (from above) and the problem description to:
  11.  
  12.                      Internet:    apple.bugs@applelink.apple.com
  13.                      AppleLink:    APPLE.BUGS
  14.  
  15. */
  16. #ifndef __NVRAMPLUGIN_IDL__
  17. #define __NVRAMPLUGIN_IDL__
  18.  
  19. #include <somobj.idl>
  20. #include <somcls.idl>
  21.  
  22. #ifndef __TYPES_IDL__
  23. #include <Types.idl>
  24. #endif
  25.  
  26. #ifdef __SOMIDL__
  27.  
  28. #if FOR_SYSTEM8_PREEMPTIVE
  29. /*
  30. ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
  31.     status codes
  32. ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
  33. */
  34. /*
  35. ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
  36.     Plugin Calls Provided by the Family
  37. ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
  38. */
  39. /*
  40. ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
  41.     Plugin Calls Provided by the Plugin
  42. ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
  43.  all plugin calls are async
  44.  the plugin starts the i/o and returns immediately
  45.  the plugin ISR calls NVRAMFamRequestComplete() when the i/o is completed
  46. */
  47. typedef OpaquePtr NVRAMPluginInitPtr;
  48. typedef OpaquePtr NVRAMPluginReadPtr;
  49. typedef OpaquePtr NVRAMPluginWritePtr;
  50. typedef SOMLargeStruct            NVRAMPluginVersion;            /* Derived from a struct of 16 bytes in size */
  51.  
  52. typedef SOMLargeStruct            NVRAMPluginDispatchTable;    /* Derived from a struct of 28 bytes in size */
  53.  
  54. #endif
  55.  
  56. #endif /* __SOMIDL__ */
  57.  
  58. #endif /* __NVRAMPLUGIN_IDL__ */
  59.  
  60.